import { useState } from 'react'
import {  } from 'react-router-dom'
import { BrowserRouter as Router,Routes, Route, Link } from "react-router-dom";
import logo from './logo.svg'
import Census from './census';
import './App.css'

function App() {
  const [count, setCount] = useState(0)

  return (
    <div className="App">
      <Routes>
        <Route path="/" element={<Census />}></Route>
        {/* <Route path="/page2" component={Page2}></Route> */}
      </Routes>
     </div>
  )
}

export default App
